100
|
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutSelBackMode(EXLISTLib::exTransparent);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("Item 1");
spList1->GetItems()->Add("Item 2");
|
99
|
It seems that the control uses the TAB key, is there any way to avoid that
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutUseTabKey(VARIANT_FALSE);
|
98
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutColumnAutoResize(VARIANT_FALSE);
spList1->PutContinueColumnScroll(VARIANT_FALSE);
/*
Includes the definition for CreateObject function like follows:
#include <comdef.h>
IUnknownPtr CreateObject( BSTR Object )
{
IUnknownPtr spResult;
spResult.CreateInstance( Object );
return spResult;
};
*/
/*
Copy and paste the following directives to your header file as
it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'
#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
rs->Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\Access\\SAMPLE.ACCDB",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spList1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
|
97
|
How do I change the visual appearance effect for the selected item, using EBN

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spList1->PutSelBackColor(0x1000000);
spList1->PutSelForeColor(RGB(0,0,0));
spList1->PutShowFocusRect(VARIANT_FALSE);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
|
96
|
How do I change the colors for the selected item

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutSelBackColor(RGB(0,0,0));
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
|
95
|
How do I get ride of the rectangle arround focused item

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutShowFocusRect(VARIANT_FALSE);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
|
94
|
How can I change the control's font

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetFont()->PutName(L"Tahoma");
spList1->GetColumns()->Add(L"Column");
|
93
|
I can't scroll to the end of the data. What can I do

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutScrollBySingleLine(VARIANT_TRUE);
spList1->PutDrawGridLines(EXLISTLib::exAllLines);
spList1->GetColumns()->Add(L"Column");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutItemHeight(var_Items->Add(long(0)),13);
spList1->PutItems(spList1->GetItems(long(0)),vtMissing);
EXLISTLib::IItemsPtr var_Items1 = spList1->GetItems();
var_Items1->PutItemHeight(var_Items1->Add(long(1)),26);
spList1->PutItems(spList1->GetItems(long(0)),vtMissing);
EXLISTLib::IItemsPtr var_Items2 = spList1->GetItems();
var_Items2->PutItemHeight(var_Items2->Add(long(2)),36);
spList1->PutItems(spList1->GetItems(long(0)),vtMissing);
EXLISTLib::IItemsPtr var_Items3 = spList1->GetItems();
var_Items3->PutItemHeight(var_Items3->Add(long(3)),48);
spList1->PutItems(spList1->GetItems(long(0)),vtMissing);
|
92
|
Is there any option to select an item using the right button of the mouse (rclick)

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutRClickSelect(VARIANT_TRUE);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("Item 1");
spList1->GetItems()->Add("Item 2");
|
91
|
How do I edit a cell

// AfterCellEdit event - Occurs after data in the current cell is edited.
void OnAfterCellEditList1(long ItemIndex,long ColIndex,LPCTSTR NewCaption)
{
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetItems()->PutCaption(ItemIndex,ColIndex,NewCaption);
}
// CancelCellEdit event - Occurs if the edit operation is canceled.
void OnCancelCellEditList1(long ItemIndex,long ColIndex,VARIANT Reserved)
{
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetItems()->PutCaption(ItemIndex,ColIndex,Reserved);
}
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutAllowEdit(VARIANT_TRUE);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("Item 1");
spList1->GetItems()->Add("Item 2");
|
90
|
I have FullRowSelect property on False, how do I select a column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutSelectColumnIndex(1);
spList1->PutFullRowSelect(VARIANT_FALSE);
|
89
|
How can I scroll columns one by one, not pixel by pixel
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutContinueColumnScroll(VARIANT_FALSE);
spList1->PutColumnAutoResize(VARIANT_FALSE);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"1")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"2")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"3")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"4")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"5")))->PutWidth(128);
|
88
|
How can I enable multiple items selection

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutSingleSel(VARIANT_FALSE);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add(long(2));
|
87
|
How can I programmatically change the column where incremental searching is performed

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"Column 1");
spList1->GetColumns()->Add(L"Column 2");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCaption(var_Items->Add("Item 1"),long(1),"SubItem 1");
spList1->PutSearchColumnIndex(1);
|
86
|
How do I disable the full-row selection in the control

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutFullRowSelect(VARIANT_FALSE);
EXLISTLib::IColumnsPtr var_Columns = spList1->GetColumns();
var_Columns->Add(L"C1");
var_Columns->Add(L"C2");
var_Columns->Add(L"C3");
var_Columns->GetItem(long(0))->PutPosition(1);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("One");
var_Items->Add("Two");
var_Items->Add("Three");
|
85
|
Is there any option to specify the height of the items, before adding them

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutDefaultItemHeight(32);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("One");
spList1->GetItems()->Add("Two");
|
84
|
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutCountLockedColumns(1);
spList1->PutBackColorLock(RGB(240,240,240));
spList1->PutColumnAutoResize(VARIANT_FALSE);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Locked")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 1")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 2")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 3")))->PutWidth(128);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCaption(var_Items->Add("locked"),long(1),"unlocked");
|
83
|
How do I change the control's background / foreground color on the locked area

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutCountLockedColumns(1);
spList1->PutForeColorLock(RGB(240,240,240));
spList1->PutBackColorLock(RGB(128,128,128));
spList1->PutColumnAutoResize(VARIANT_FALSE);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Locked")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 1")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 2")))->PutWidth(128);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Un-Locked 3")))->PutWidth(128);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCaption(var_Items->Add("locked"),long(1),"unlocked");
|
82
|
How do I change the control's foreground color

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutForeColor(RGB(120,120,120));
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("item");
|
81
|
How do I change the control's background color

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutBackColor(RGB(200,200,200));
|
80
|
How do I use my own icons for my radio buttons

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spList1->PutRadioImage(VARIANT_FALSE,1);
spList1->PutRadioImage(VARIANT_TRUE,2);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Radio")))->PutDef(EXLISTLib::exCellHasRadioButton,VARIANT_TRUE);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("Radio 1");
var_Items->PutCellState(var_Items->Add("Radio 2"),long(0),1);
var_Items->Add("Radio 3");
|
79
|
How do I use my own icons for checkbox cells

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spList1->PutCheckImage(EXLISTLib::Unchecked,1);
spList1->PutCheckImage(EXLISTLib::Checked,2);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Check")))->PutDef(EXLISTLib::exCellHasCheckBox,VARIANT_TRUE);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("Check 1");
var_Items->PutCellState(var_Items->Add("Check 2"),long(0),1);
|
78
|
How do I perform my own sorting when user clicks the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutSortOnClick(EXLISTLib::exUserSort);
spList1->GetColumns()->Add(L"Column");
spList1->GetItems()->Add("Item 1");
spList1->GetItems()->Add("Item 2");
|
77
|
How do I disable sorting a specified column when clicking its header
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"1");
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"NoSort")))->PutAllowSort(VARIANT_FALSE);
|
76
|
How do I disable sorting the columns when clicking the control's header
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutSortOnClick(EXLISTLib::exNoSort);
spList1->GetColumns()->Add(L"1");
spList1->GetColumns()->Add(L"2");
|
75
|
How do I put a picture on the center of the control

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::MiddleCenter);
|
74
|
How do I resize/stretch a picture on the control's background

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::Stretch);
|
73
|
How do I put a picture on the control's center right bottom side

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::LowerRight);
|
72
|
How do I put a picture on the control's center left bottom side

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::LowerLeft);
|
71
|
How do I put a picture on the control's center top side

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::UpperCenter);
|
70
|
How do I put a picture on the control's right top corner

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::UpperRight);
|
69
|
How do I put a picture on the control's left top corner

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spList1->PutPictureDisplay(EXLISTLib::UpperLeft);
|
68
|
How do I put a picture on the control's background

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutPicture(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
|
67
|
How do I sort descending a column, and put the sorting icon in the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"Column");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("Item 1");
var_Items->Add("Item 2");
var_Items->Add("Item 3");
spList1->GetColumns()->GetItem(long(0))->PutSortOrder(EXLISTLib::SortDescending);
|
66
|
How do I sort ascending a column, and put the sorting icon in the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"Column");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("Item 3");
var_Items->Add("Item 1");
var_Items->Add("Item 2");
spList1->GetColumns()->GetItem(long(0))->PutSortOrder(EXLISTLib::SortAscending);
|
65
|
How do I perform my own/custom sort, using my extra numbers

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"desc")))->PutSortType(EXLISTLib::SortUserData);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCellData(var_Items->Add(long(0)),long(0),long(2));
var_Items->PutCellData(var_Items->Add(long(1)),long(0),long(1));
var_Items->PutCellData(var_Items->Add(long(2)),long(0),long(0));
var_Items->Sort(long(0),VARIANT_FALSE);
|
64
|
By default, the column gets sorted as strings, so how do I sort a column by time only

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"desc")))->PutSortType(EXLISTLib::SortTime);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("11:00");
var_Items->Add("10:10");
var_Items->Add("12:12");
var_Items->Sort(long(0),VARIANT_FALSE);
|
63
|
By default, the column gets sorted as strings, so how do I sort a column by date and time

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"desc")))->PutSortType(EXLISTLib::SortDateTime);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("1/1/2001 11:00");
var_Items->Add("1/1/2001 10:10");
var_Items->Add("1/3/2003");
var_Items->Sort(long(0),VARIANT_FALSE);
|
62
|
By default, the column gets sorted as strings, so how do I sort a column by dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"desc")))->PutSortType(EXLISTLib::SortDate);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add("1/1/2001");
var_Items->Add("1/2/2002");
var_Items->Add("1/3/2003");
var_Items->Sort(long(0),VARIANT_FALSE);
|
61
|
How do I sort a column by numbers

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"desc")))->PutSortType(EXLISTLib::SortNumeric);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add(long(1));
var_Items->Add(long(5));
var_Items->Add(long(10));
var_Items->Sort(long(0),VARIANT_FALSE);
|
60
|
How do I hide the control's header bar
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutHeaderVisible(VARIANT_FALSE);
|
59
|
How do change the visual appearance for the control's header bar, using EBN

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spList1->PutBackColorHeader(0x1000000);
|
58
|
How do I remove the control's border
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutAppearance(EXLISTLib::None2);
|
57
|
How can I get ride/hide of the "Filter For" field

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterPattern(VARIANT_FALSE);
|
56
|
How do I filter for items that match exactly the specified string

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exFilter);
var_Column->PutFilter(L"Item 1");
spList1->GetItems()->Add("Item 1");
spList1->GetItems()->Add("Item 2");
spList1->GetItems()->Add("Item 3");
spList1->ApplyFilter();
|
55
|
How can I can I programmatically filter for items with a specified icon assigned

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exImage);
var_Column->PutFilter(L"1");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCellImage(var_Items->Add("Image 1"),long(0),1);
var_Items->PutCellImage(var_Items->Add("Image 1"),long(0),1);
var_Items->PutCellImage(var_Items->Add("Image 2"),long(0),2);
var_Items->PutCellImage(var_Items->Add("Image 3"),long(0),3);
spList1->ApplyFilter();
|
54
|
How can I can I programmatically filter the checked items

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDef(EXLISTLib::exCellHasCheckBox,VARIANT_TRUE);
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exCheck);
var_Column->PutFilter(L"0");
spList1->GetItems()->Add(long(0));
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCellState(var_Items->Add(long(1)),long(0),1);
spList1->GetItems()->Add(long(2));
spList1->ApplyFilter();
|
53
|
How can I can I filter programmatically the items based on some numerichal rules

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exNumeric);
var_Column->PutFilter(L"> 0 <= 1");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add(long(2));
spList1->ApplyFilter();
|
52
|
How can I can I filter programmatically the items based on a range/interval of dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exDate);
var_Column->PutFilter(L"1/1/2001 to 1/1/2002");
spList1->GetItems()->Add("1/1/2001");
spList1->GetItems()->Add("2/1/2002");
spList1->ApplyFilter();
|
51
|
How can I can I filter programmatically given a specified pattern using wild characters like * or

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exPattern);
var_Column->PutFilter(L"0*");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add("00");
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add("11");
spList1->ApplyFilter();
|
50
|
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
spList1->ApplyFilter();
|
49
|
How can I display the column's filter

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"")))->PutDisplayFilterButton(VARIANT_TRUE);
|
48
|
How can I show only the vertical scroll bar

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutColumnAutoResize(VARIANT_TRUE);
spList1->PutScrollBars(EXLISTLib::DisableNoVertical);
spList1->GetColumns()->Add(L"1");
spList1->GetColumns()->Add(L"2");
|
47
|
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exCheck);
var_Column->PutFilter(L"0");
spList1->PutDescription(EXLISTLib::exFilterBarIsChecked,L"Check_On");
spList1->PutDescription(EXLISTLib::exFilterBarIsUnchecked,L"Check_Off");
spList1->ApplyFilter();
|
46
|
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exCheck);
spList1->PutDescription(EXLISTLib::exFilterBarChecked,L"with check on");
spList1->PutDescription(EXLISTLib::exFilterBarUnchecked,L"with check off");
|
45
|
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarDateWeekDays,L"Du Lu Ma Mi Jo Vi Si");
spList1->ApplyFilter();
|
44
|
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarDateMonths,L"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre");
spList1->ApplyFilter();
|
43
|
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarDateTodayCaption,L"Azi");
spList1->ApplyFilter();
|
42
|
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarDateTo,L"->");
spList1->ApplyFilter();
|
41
|
How can I filter the items that are between an interval/range of dates

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->ApplyFilter();
|
40
|
Can I change the "Date:" caption when the column's drop down filter window is shown

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarDate,L"Range");
spList1->ApplyFilter();
|
39
|
Can I filter for values using OR - NOT , instead AND operator

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
EXLISTLib::IColumnPtr var_Column1 = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")));
var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
var_Column1->PutFilterType(EXLISTLib::exBlanks);
EXLISTLib::IColumnPtr var_Column2 = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 3")));
var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
var_Column2->PutFilterType(EXLISTLib::exBlanks);
spList1->PutFilterCriteria(L"%0 or not %1 and %2");
spList1->ApplyFilter();
|
38
|
Can I change the NOT string in the filter bar

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
EXLISTLib::IColumnPtr var_Column1 = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")));
var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
var_Column1->PutFilterType(EXLISTLib::exNonBlanks);
spList1->PutFilterCriteria(L"not %0 or %1");
spList1->PutDescription(EXLISTLib::exFilterBarNot,L" ! ");
spList1->PutDescription(EXLISTLib::exFilterBarIsNonBlank,L" ! IsBlank");
spList1->ApplyFilter();
|
37
|
Can I change the OR string in the filter bar

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
EXLISTLib::IColumnPtr var_Column1 = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")));
var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
var_Column1->PutFilterType(EXLISTLib::exNonBlanks);
spList1->PutFilterCriteria(L"%0 or %1");
spList1->PutDescription(EXLISTLib::exFilterBarOr,L" | ");
spList1->ApplyFilter();
|
36
|
Can I change the AND string in the filter bar

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
EXLISTLib::IColumnPtr var_Column1 = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")));
var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
var_Column1->PutFilterType(EXLISTLib::exNonBlanks);
spList1->PutDescription(EXLISTLib::exFilterBarAnd,L" & ");
spList1->ApplyFilter();
|
35
|
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")));
var_Column->PutDisplayFilterButton(VARIANT_TRUE);
var_Column->PutFilterType(EXLISTLib::exBlanks);
spList1->PutDescription(EXLISTLib::exFilterBarIsBlank,L"Is Empty");
spList1->PutDescription(EXLISTLib::exFilterBarIsNonBlank,L"Is Not Empty");
spList1->ApplyFilter();
|
34
|
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarFilterTitle,L"");
spList1->PutDescription(EXLISTLib::exFilterBarPatternFilterTitle,L"");
spList1->PutDescription(EXLISTLib::exFilterBarTooltip,L"");
spList1->PutDescription(EXLISTLib::exFilterBarPatternTooltip,L"");
spList1->PutDescription(EXLISTLib::exFilterBarFilterForTooltip,L"");
spList1->PutDescription(EXLISTLib::exFilterBarDateTooltip,L"");
spList1->PutDescription(EXLISTLib::exFilterBarDateTitle,L"");
|
33
|
How can I change the "Filter For" caption in the column's drop down filter window

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarFilterForCaption,L"new caption");
|
32
|
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarAll,L"");
spList1->PutDescription(EXLISTLib::exFilterBarBlanks,L"");
spList1->PutDescription(EXLISTLib::exFilterBarNonBlanks,L"");
|
31
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spList1->PutDescription(EXLISTLib::exFilterBarAll,L"new name for (All)");
|
30
|
How can I change the position of the column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"Column 1");
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")))->PutPosition(0);
|
29
|
Can I make strikeout the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHeaderStrikeOut(VARIANT_TRUE);
|
28
|
How can I apply an strikeout font only a portion of the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<s>Col</s>umn 1");
|
27
|
How can I get underlined only a portion of column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<u>Col</u>umn 1");
|
26
|
How can I underline the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHeaderUnderline(VARIANT_TRUE);
|
25
|
How can I apply an italic font only a portion of the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<i>Col</i>umn 1");
|
24
|
Is there any option to make italic the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHeaderItalic(VARIANT_TRUE);
|
23
|
How can I bold only a portion of the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<b>Col</b>umn 1");
|
22
|
Is there any option to bold the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHeaderBold(VARIANT_TRUE);
|
21
|
Is there any option to change the color for the grid lines

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"");
spList1->PutDrawGridLines(EXLISTLib::exAllLines);
spList1->PutGridLineColor(RGB(255,0,0));
|
20
|
Can I change the font to display the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutHeaderHeight(34);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<font Tahoma;14>Column</font> 1");
|
19
|
Can I change the height of the header bar

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutHeaderHeight(32);
|
18
|
Can I display multiple icons to the column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"1<img>1</img> 2 <img>2</img>...");
|
17
|
How can I show the control's grid lines

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutMarkSearchColumn(VARIANT_FALSE);
spList1->PutDrawGridLines(EXLISTLib::exAllLines);
spList1->GetColumns()->Add(L"Column 1");
spList1->GetColumns()->Add(L"Column 2");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add(long(2));
|
16
|
How can I assign a different background color for the entire column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutMarkSearchColumn(VARIANT_FALSE);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutDef(EXLISTLib::exCellBackColor,long(255));
spList1->GetColumns()->Add(L"Column 2");
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add(long(2));
|
15
|
How can I assign a check box for a cell

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"Column 1");
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->Add(long(0));
var_Items->PutCellHasCheckBox(var_Items->Add(long(1)),long(0),VARIANT_TRUE);
var_Items->Add(long(2));
|
14
|
How can I assign checkboxes for the entire column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutDef(EXLISTLib::exCellHasCheckBox,VARIANT_TRUE);
spList1->GetItems()->Add(long(0));
spList1->GetItems()->Add(long(1));
spList1->GetItems()->Add(long(2));
|
13
|
How can I show both scrollbars

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutScrollBars(EXLISTLib::DisableBoth);
|
12
|
How can I change the column's width

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutColumnAutoResize(VARIANT_FALSE);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutWidth(64);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 2")))->PutWidth(128);
|
11
|
How can I show or hide a column
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Hidden")))->PutVisible(VARIANT_FALSE);
|
10
|
How can I hide the searching column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutMarkSearchColumn(VARIANT_FALSE);
spList1->GetColumns()->Add(L"Column 1");
spList1->GetColumns()->Add(L"Column 2");
spList1->GetItems()->Add(vtMissing);
|
9
|
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Unsortable")))->PutAllowSort(VARIANT_FALSE);
spList1->GetColumns()->Add(L"Sortable");
|
8
|
Is there any option to align the header to the left and the data to the right

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Left")))->PutAlignment(EXLISTLib::LeftAlignment);
EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Right")));
var_Column->PutAlignment(EXLISTLib::RightAlignment);
var_Column->PutHeaderAlignment(EXLISTLib::RightAlignment);
EXLISTLib::IItemsPtr var_Items = spList1->GetItems();
var_Items->PutCaption(var_Items->Add("left"),long(1),"right");
|
7
|
Can I displays a custom size picture to column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spList1->PutHeaderHeight(48);
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> Column <img>pic1</img> Picture");
|
6
|
How can I insert an icon to column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> Column <img>1</img> Icon");
|
5
|
How can I insert an icon to column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"ColumnName")))->PutHeaderImage(1);
|
4
|
How can I use HTML format in column's header

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn");
|
3
|
How can I change/rename the column's name

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"ColumnName")))->PutCaption(L"NewName");
|
2
|
How can I add multiple columns

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
EXLISTLib::IColumnsPtr var_Columns = spList1->GetColumns();
var_Columns->Add(L"Column 1");
var_Columns->Add(L"Column 2");
|
1
|
How can I add a new column

/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library'
#import <ExList.dll>
using namespace EXLISTLib;
*/
EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown();
spList1->GetColumns()->Add(L"ColumnName");
|